<template>
  <div class="container">
    <van-tabs v-model="active">
      <van-tab v-for="item,index in navs" :title="item" :key="index">
      <div class="list">
          <div class="flex flex-row pd bd-bottom flex-y-center bg-white" v-for="item  in 9">
      <img class="flex-grow-0" src="http://scimg.jb51.net/allimg/151120/14-151120094951S5.jpg">
      <div class="flex-grow-1 mg-r-l">
        <div class="title">您牵挂的玉麦乡建设得越来越好 美丽新的玉麦乡建设得的玉麦乡建设得的玉麦乡建设得边疆</div>
        <div class="info subtit">您牵挂的玉麦乡建设得越来越好的玉麦乡建设得的玉麦乡建设得的玉麦乡建设得 美丽新边疆</div>
      </div>
      <div class="flex-grow-0">
      <van-icon name="arrow" />
      </div>
    </div>
      </div>
      </van-tab>
    </van-tabs>
  </div>
</template>
<script>
	export default({
		data(){
			return{
				active:1,
				navs:["一级团队","二级团队"]
			}
		}
	})
</script>
<style scoped lang="less">
.list{
	position:fixed;
	top:44px;
	bottom:0;
	left:0;
	width:100%;
	overflow-x: hidden;
    overflow-y: croll;
}
.van-tab--active {
  color: #F75B93;
}

.van-tabs__line {
  background-color: #F75B93;
}
img {
  height: 2rem;
  width: 2rem;
  border-radius:1rem;
}

.van-button--small{
	font-size: .5rem;
	margin-left:.3rem;
}
.title {
  color: #000000;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  font-size: .6rem;
}

.info {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  font-size: .5rem;
}
</style>
